﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using ScrumTable.Common.Collections;

#endregion

namespace ScrumTable.DL.Data.TFS.Bulk.Services.IterationHandling.Serialization
{
    /// <summary>
    /// Represents the iteration data object for the bulk driver.
    /// </summary>      
    [XmlType("Iteration")] 
    public class Iteration 
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        /// <summary>
        /// Gets or sets the iteration id.
        /// </summary>
        [XmlAttribute]
        public int IterationId { get; set; }

        /// <summary>
        /// Gets or sets the iteration path field. This field is stored
        /// for readability.
        /// </summary>
        [XmlAttribute]
        public string IterationPathName { get; set; }
        
        /// <summary>
        /// Stores the start date field.
        /// </summary>
        [XmlAttribute]
        public DateTime StartDate { get; set; }

        /// <summary>
        /// Stores the end date field.
        /// </summary>
        [XmlAttribute]
        public DateTime EndDate { get; set; }

        #endregion

        #region Constructors / Destructor

        //--------------------------------------------------------------------
        // Constructors / Destructor
        //--------------------------------------------------------------------

        /// <summary>   
        /// 
        /// </summary>
        public Iteration()
        {
        }

        #endregion

        #region Methods

        #endregion
    }
 }
